home *** CD-ROM | disk | FTP | other *** search
- //-------------------------------------------------------------------
- //
- // This code is copyright 2001 by G5 Software.
- // Any unauthorized usage, either in part or in whole of this code
- // is strictly prohibited. Violators WILL be prosecuted to the
- // maximum extent allowed by law.
- //
- //-------------------------------------------------------------------
-
- class CCountryElevatorMesh
- {
- string MeshFile = "Models/B_Country_Elevator.mesh";
- string SkinFile = "Models/B_Country_Elevator.skin";
- }
-
- class CCountryElevatorStateControl extends CUnitLifeControl
- {
- void CCountryElevatorStateControl()
- {
- CUnitLifeControl(15000.0);
- m_DestroyPause = 20.0;
- m_ExplosionId = "EXPLID_BuildingExplosion";
- }
- }
-
- // Building without ground control (for use in villages)
- class CBaseCountryElevator extends CBuilding, CUnitWithStateControl
- {
- void CBaseCountryElevator()
- {
- InitializeModelAsStatic("CCountryElevatorMesh");
- CUnitWithStateControl("CCountryElevatorStateControl");
- }
- }
-
- // Single game object
- class CMountedCountryElevator extends CBaseCountryElevator
- {
- void CMountedCountryElevator()
- {
- InitializeGroundControl();
- }
- }
-
-
-
-